package com.lwz.repair.service;

import com.lwz.repair.dao.UserMapper;
import com.lwz.repair.entity.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService {

    @Autowired
    UserMapper userMapper;

    public User Login(String username, String password){
        return userMapper.getUserByPwd(username,password);
    }
}
